import Vue from 'vue';
import App from './App';
import { router } from './router';
import i18n from "./locales/index";
import lclComponents from 'lcl-components'

const { isJSON, JSONFormat, JSONCompress } = lclComponents

Vue.use(lclComponents);
Vue.prototype.isJSON = isJSON;
Vue.prototype.JSONFormat = JSONFormat;
Vue.prototype.JSONCompress = JSONCompress;

Vue.prototype._i18n = i18n;
Vue.config.productionTip = false

new Vue({
  router,
  i18n,
  el: '#app',
  render: h => h(App)
});
